package com.itdct.onflow.core.extend

import com.itdct.onflow.core.context.BaseContext


/**
 * @author Zhouwx
 * @date 2025/8/13 15:33:48
 * @version 1.0
 * @description 全局用于context打开分页使用
 */
fun startPage(context: BaseContext<*, *>) {
    context.startPage = true
    context.pageableReturn = true
}

fun clearPage(context: BaseContext<*, *>) {
    context.startPage = false
}